using Dew.Math;
using Dew.Math.Units;
namespace Dew.Examples()
{
void Example()
{
TVec a;
MtxVec.CreateIt(
out a);
try
{
a.SetIt(
false,
new double[] {2, 0.1, 3, 4});
a.ThreshTop(0.2);
// a = [0.2, 0.1, 0.2, 0.2]
}
finally
{
MtxVec.FreeIt(
ref a);
}
}
}